home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Hardware / FGrab / ARexx / Forever.rexx next >
Encoding:
OS/2 REXX Batch file  |  1998-06-24  |  518 b   |  19 lines

  1. /* Framegrabber example script
  2.    Render forerver */
  3. options results
  4. address command
  5. if (show('P','FGRAB'))==0 then do
  6.   'run FrameGrab iconified'            /* start FrameGrab,if it's not */
  7.   do while (show('P','FGRAB'))==0      /* running */
  8.     'wait 1 secs'                      /* for that, it must be in the path */
  9.   end
  10. end
  11. address fgrab
  12. do forever
  13.   'QUERY FROZEN'
  14.   if result='TRUE' then 'FREEZE'       /* activate FrameGrabber */
  15.   address command wait 1 secs
  16.   'RENDER'
  17.   address command wait 10 secs
  18. end
  19.